Platform Explorer / Nuxeo Platform 5.8

Contribution org.nuxeo.theme.editor.ui--views

This contribution is part of XML component org.nuxeo.theme.editor.ui inside nuxeo-theme-editor-5.8.jar

Extension Point

Extension point views of component ThemeService.

Contributed Items

  • <view name="theme view" template-engine="freemarker">
          <engine>editor</engine>
          <element-type>theme</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/fm/theme-view.xml
          </template>
          <resource>nxthemes.css</resource>
          <resource>nxthemes-widgets.js</resource>
          <resource>nxthemes-controllers.js</resource>
          <resource>nxthemes-editor.js</resource>
          <resource>nxthemes-editor.css</resource>
          <resource>jscolor.js</resource>
        </view>
  • <view name="theme view" template-engine="freemarker">
          <engine>page-editor</engine>
          <element-type>theme</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/fm/theme-view-page-editor.xml
          </template>
        </view>
  • <view name="page frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/fm/page-frame.xml
          </template>
        </view>
  • <view name="page frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>area-styles-page</mode>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.PageFrameAreaStyle</class>
        </view>
  • <view name="page frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>area-styles-section</mode>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/fm/page-frame.xml
          </template>
        </view>
  • <view name="page frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>area-styles-cell</mode>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/fm/page-frame.xml
          </template>
        </view>
  • <view name="section frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <element-type>section</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/fm/section-frame.xml
          </template>
        </view>
  • <view name="section frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>area-styles-section</mode>
          <element-type>section</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.SectionFrameAreaStyle</class>
        </view>
  • <view name="cell frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <element-type>cell</element-type>
          <format-type>widget</format-type>
          <class>
            org.nuxeo.theme.editor.views.CellFrameWidget
          </class>
        </view>
  • <view name="cell frame" template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>area-styles-cell</mode>
          <element-type>cell</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.CellFrameAreaStyle</class>
        </view>
  • <view template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>layout</mode>
          <element-type>section</element-type>
          <format-type>layout</format-type>
          <class>
            org.nuxeo.theme.editor.views.SectionLayout
          </class>
        </view>
  • <view template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>layout</mode>
          <element-type>cell</element-type>
          <format-type>layout</format-type>
          <class>org.nuxeo.theme.editor.views.CellLayout</class>
        </view>
  • <view template-engine="freemarker">
          <engine>page-editor</engine>
          <mode>layout</mode>
          <format-type>style</format-type>
          <class>org.nuxeo.theme.html.filters.BypassView</class>
        </view>
  • <view template-engine="freemarker">
          <engine>page-editor</engine>
          <element-type>fragment</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.UnregisteredWidget</class>
        </view>
  • <view name="theme view" template-engine="jsf-facelets">
          <engine>editor</engine>
          <element-type>theme</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/jsf/theme-view.xml
          </template>
          <resource>nxthemes.css</resource>
          <resource>nxthemes-widgets.js</resource>
          <resource>nxthemes-controllers.js</resource>
          <resource>nxthemes-editor.js</resource>
          <resource>nxthemes-editor.css</resource>
          <resource>jscolor.js</resource>
        </view>
  • <view name="theme view" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <element-type>theme</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/jsf/theme-view-page-editor.xml
          </template>
        </view>
  • <view name="page frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/jsf/page-frame.xml
          </template>
        </view>
  • <view name="page frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>area-styles-section</mode>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/jsf/page-frame.xml
          </template>
        </view>
  • <view name="page frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>area-styles-cell</mode>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/jsf/page-frame.xml
          </template>
        </view>
  • <view name="page frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>area-styles-page</mode>
          <element-type>page</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.PageFrameAreaStyle</class>
        </view>
  • <view name="section frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <element-type>section</element-type>
          <format-type>widget</format-type>
          <template>
            nxthemes/editor/widgets/jsf/section-frame.xml
          </template>
        </view>
  • <view name="section frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>area-styles-section</mode>
          <element-type>section</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.SectionFrameAreaStyle</class>
        </view>
  • <view name="cell frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>area-styles-cell</mode>
          <element-type>cell</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.CellFrameAreaStyle</class>
        </view>
  • <view name="cell frame" template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <element-type>cell</element-type>
          <format-type>widget</format-type>
          <class>
            org.nuxeo.theme.editor.views.CellFrameWidget
          </class>
        </view>
  • <view template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>layout</mode>
          <element-type>section</element-type>
          <format-type>layout</format-type>
          <class>
            org.nuxeo.theme.editor.views.SectionLayout
          </class>
        </view>
  • <view template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>layout</mode>
          <element-type>cell</element-type>
          <format-type>layout</format-type>
          <class>org.nuxeo.theme.editor.views.CellLayout</class>
        </view>
  • <view template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <mode>layout</mode>
          <format-type>style</format-type>
          <class>org.nuxeo.theme.html.filters.BypassView</class>
        </view>
  • <view template-engine="jsf-facelets">
          <engine>page-editor</engine>
          <element-type>fragment</element-type>
          <format-type>widget</format-type>
          <class>org.nuxeo.theme.editor.views.UnregisteredWidget</class>
        </view>

XML Source

<extension point="views" target="org.nuxeo.theme.services.ThemeService">

    <!-- Freemarker Views -->

    <view name="theme view" template-engine="freemarker">
      <engine>editor</engine>
      <element-type>theme</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/fm/theme-view.xml
      </template>
      <resource>nxthemes.css</resource>
      <resource>nxthemes-widgets.js</resource>
      <resource>nxthemes-controllers.js</resource>
      <resource>nxthemes-editor.js</resource>
      <resource>nxthemes-editor.css</resource>
      <resource>jscolor.js</resource>
    </view>

    <view name="theme view" template-engine="freemarker">
      <engine>page-editor</engine>
      <element-type>theme</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/fm/theme-view-page-editor.xml
      </template>
    </view>

    <view name="page frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/fm/page-frame.xml
      </template>
    </view>

    <view name="page frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>area-styles-page</mode>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.PageFrameAreaStyle</class>
    </view>

    <view name="page frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>area-styles-section</mode>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/fm/page-frame.xml
      </template>
    </view>

    <view name="page frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>area-styles-cell</mode>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/fm/page-frame.xml
      </template>
    </view>

    <view name="section frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <element-type>section</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/fm/section-frame.xml
      </template>
    </view>

    <view name="section frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>area-styles-section</mode>
      <element-type>section</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.SectionFrameAreaStyle</class>
    </view>

    <view name="cell frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <element-type>cell</element-type>
      <format-type>widget</format-type>
      <class>
        org.nuxeo.theme.editor.views.CellFrameWidget
      </class>
    </view>

    <view name="cell frame" template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>area-styles-cell</mode>
      <element-type>cell</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.CellFrameAreaStyle</class>
    </view>

    <view template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>layout</mode>
      <element-type>section</element-type>
      <format-type>layout</format-type>
      <class>
        org.nuxeo.theme.editor.views.SectionLayout
      </class>
    </view>

    <view template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>layout</mode>
      <element-type>cell</element-type>
      <format-type>layout</format-type>
      <class>org.nuxeo.theme.editor.views.CellLayout</class>
    </view>

    <!-- Override the default style view in layout mode-->
    <view template-engine="freemarker">
      <engine>page-editor</engine>
      <mode>layout</mode>
      <format-type>style</format-type>
      <class>org.nuxeo.theme.html.filters.BypassView</class>
    </view>

    <!-- Default view when no widget is available -->
    <view template-engine="freemarker">
      <engine>page-editor</engine>
      <element-type>fragment</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.UnregisteredWidget</class>
    </view>



    <!--  JSF/Facelets views -->

    <view name="theme view" template-engine="jsf-facelets">
      <engine>editor</engine>
      <element-type>theme</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/jsf/theme-view.xml
      </template>
      <resource>nxthemes.css</resource>
      <resource>nxthemes-widgets.js</resource>
      <resource>nxthemes-controllers.js</resource>
      <resource>nxthemes-editor.js</resource>
      <resource>nxthemes-editor.css</resource>
      <resource>jscolor.js</resource>
    </view>

    <view name="theme view" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <element-type>theme</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/jsf/theme-view-page-editor.xml
      </template>
    </view>

    <view name="page frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/jsf/page-frame.xml
      </template>
    </view>

    <view name="page frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>area-styles-section</mode>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/jsf/page-frame.xml
      </template>
    </view>

    <view name="page frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>area-styles-cell</mode>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/jsf/page-frame.xml
      </template>
    </view>

    <view name="page frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>area-styles-page</mode>
      <element-type>page</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.PageFrameAreaStyle</class>
    </view>

    <view name="section frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <element-type>section</element-type>
      <format-type>widget</format-type>
      <template>
        nxthemes/editor/widgets/jsf/section-frame.xml
      </template>
    </view>

    <view name="section frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>area-styles-section</mode>
      <element-type>section</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.SectionFrameAreaStyle</class>
    </view>

    <view name="cell frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>area-styles-cell</mode>
      <element-type>cell</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.CellFrameAreaStyle</class>
    </view>

    <view name="cell frame" template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <element-type>cell</element-type>
      <format-type>widget</format-type>
      <class>
        org.nuxeo.theme.editor.views.CellFrameWidget
      </class>
    </view>

    <view template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>layout</mode>
      <element-type>section</element-type>
      <format-type>layout</format-type>
      <class>
        org.nuxeo.theme.editor.views.SectionLayout
      </class>
    </view>

    <view template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>layout</mode>
      <element-type>cell</element-type>
      <format-type>layout</format-type>
      <class>org.nuxeo.theme.editor.views.CellLayout</class>
    </view>

    <view template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <mode>layout</mode>
      <format-type>style</format-type>
      <class>org.nuxeo.theme.html.filters.BypassView</class>
    </view>


    <view template-engine="jsf-facelets">
      <engine>page-editor</engine>
      <element-type>fragment</element-type>
      <format-type>widget</format-type>
      <class>org.nuxeo.theme.editor.views.UnregisteredWidget</class>
    </view>


  </extension>